<?php

!defined('IN_NOVA') && exit('Access Denied!');

class Help {

	public function start() {
		global $user,$cache;
		@header("content-type: text/html; charset=utf-8");
?>
<div class="admin_panel">
	<div class="admin_title">帮助</div>
	<div class="admin_content">
		<div align="left" style="padding:5px;font-size:12px">
			Use XKLog! Choose a better life!
		</div>
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
			<tr>
				<td>
				 	<div align="left" style="width:400px;padding:5px;clear:both;font-size:12px">
						程序版本: XKLog V<?php echo XKLOG_VERSION ?> <br/>
						<br/>博客名称: <a href = "<?php echo APP_PATH; ?>" target="_blank"><?php echo $cache->config['blogname'] ?></a> <br/>
						<br/>日志数量: <?php echo $cache->count['article_num'] ?> 篇<br/>
						<br/>评论数量: <?php echo $cache->count['comment_num'] ?> 条<br/>
						<br/>留言数量: <?php echo $cache->count['guestbook_num'] ?> 条<br/>
						<br/>会员总数: <?php echo $cache->count['user_num'] ?> 人<br/>
						<br/>访问次数: <?php echo $cache->config['visitnum'] ?> 次<br/>
					</div>
				</td>
				<td>
					<div align="left" style="width:400px;padding:5px;clear:both;font-size:12px">
						待审核评论：<?php echo $cache->count['comment_num_censor'] ?> 条<br/>
						<br/>待审核留言：<?php echo $cache->count['guestbook_num_censor'] ?> 条<br/>
						<br/>物理路径: <?php echo APP_ROOT ?> <br/>
						<br/>解译引擎: <?php echo $_SERVER['SERVER_SOFTWARE'] ?> <br/>
						<br/>PHP版本: <?php echo PHP_VERSION ?> <br/>
						<br/>脚本超时: <?php echo get_cfg_var('max_execution_time') ?> 秒<br/>
					</div>
				</td>
			</tr>
		</table>
	</div>
</div>
<?php
	}

}
?>
